package com.evola.rm.utils
{

	public class Flags
	{

		public static var instance:Flags=new Flags();

		[Embed(source="../assets/images/flags/ad.png")]
		public var ad:Class;

		[Embed(source="../assets/images/flags/us.png")]
		public var us:Class;
		
		[Embed(source="../assets/images/flags/de.png")]
		public var de:Class;

		public static function getFlag(flagCode:String):*
		{

			if (instance.hasOwnProperty(flagCode))
			{

				return instance[flagCode];
			}

			return null;
		}
	}
}
